#include <iostream.h> // Zadanie 3.3
#include <conio.h>

main()
{
int x = 0, y = 0;

cout << "Program oblicza wartosc funkcji y = 3x dla x zmieniajacego sie od 0 do 10." << endl;

while (x <= 10)
{
 y = 3*x;
 cout << "x = " << x << '\t' << "y = " << y << endl;
 x++;
}

getch(); // czeka na nacisniecie dowolnego klawisza
}
